package ma.jee.portailReservation.service.ma.jee.portailReservation.service.reservation;

import ma.jee.portailReservation.persistence.announce.Announce;
import ma.jee.portailReservation.persistence.reservation.Reservation;
import org.joda.time.DateTime;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: soufiane
 * Date: 03/01/12
 * Time: 00:26
 * To change this template use File | Settings | File Templates.
 */
public class DisplayReservation implements Serializable{
    private Reservation reservation;

    public DisplayReservation(Reservation reservation) {
        this.reservation = reservation;
    }

     public String getReservationNumber() {
        return reservation.getReservationNumber();
    }

    public void setReservationNumber(String reservationNumber) {
        this.reservation.setReservationNumber(reservationNumber);
    }

    public DateTime getDateReservation() {
        return reservation.getDateReservation();
    }

    public void setDateReservation(DateTime dateReservation) {
        this.reservation.setDateReservation(dateReservation);
    }

    public boolean isStatus() {
        return reservation.isStatus();
    }

    public void setStatus(boolean status) {
        this.reservation.setStatus(status);
    }

    public Announce getAnnounceReservation() {
        return reservation.getAnnounceReservation();
    }

    public void setAnnounceReservation(Announce announce) {
        this.reservation.setAnnounceReservation(announce);
    }

    public long getIdReservation() {
        return reservation.getIdReservation();
    }

    public void setIdReservation(long idReservation) {
        this.reservation.setIdReservation(idReservation);
    }
}
